/*
 * @Author:
 * @Date: 2022-12-09 19:45:46
 * @LastEditors:
 * @LastEditTime: 2023-06-20 20:33:59
 * @FilePath: \immoka-admin\src\api\magicCircle.js
 * @Description:
 *
 * Copyright (c) 2023 by ${git_name} , All Rights Reserved.
 */
import request from '@/utils/request'

// 礼物合成列表
export function magicListData(query) {
    return request({
        url: '/admin/gift/magic/list',
        method: 'get',
        params: query
    })
}

// 添加合成礼物
export function magicAdd(query) {
    return request({
        url: '/admin/gift/magic/add',
        method: 'post',
        data: query
    })
}

// 删除合成礼物
export function magicDel(query) {
    return request({
        url: '/admin/gift/magic/del',
        method: 'put',
        data: query
    })
}

export function giftList(query) {
    return request({
        url: '/gift/general-gift',
        method: 'get',
        params: query
    })
}
